Q3Point3D_DistanceSquared
You can use theQ3Point3D_DistanceSquared
function to determine the square of the distance between two three-dimensional points.
float Q3Point3D_DistanceSquared ( const TQ3Point3D *p1, const TQ3Point3D *p2);
p1
- A three-dimensional point.
p2
- A three-dimensional point.
DESCRIPTION
TheQ3Point3D_DistanceSquared
function returns, as its function result, the square of the distance between pointsp1
andp2
.